import React,{lazy} from "react";
import { Navigate } from "react-router-dom";
  const Rolemanagement = lazy(() => import("@/components/pzb/Rolemanagement"));
  const Usermanagement = lazy(() => import("@/components/pzb/Usermanagement"));
  const Organizationmanagement = lazy(
    () => import("@/components/pzb/Organizationalmanagement")
  );
  export const system = [
  {
    path: "/Systemadministration/Rolemanagement",
    element: <Rolemanagement />,
  },
  {
    path: "/Systemadministration/Usermanagement",
    element: <Usermanagement />,
  },
  {
    path: "/Systemadministration/Organizationalmanagement",
    element: <Organizationmanagement/>,
  },

  {
    path:'/Systemadministration',
    element:<Navigate to="/Systemadministration/Organizationalmanagement"></Navigate>
  },
]
  // 系统管理
  export default system